<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="*|/"><xsl:apply-templates/></xsl:template>
<xsl:template match="text()|@*"><xsl:value-of select="."/></xsl:template>
<xsl:template match='nbsp' name='nbsp'>
<xsl:text disable-output-escaping='yes'>&amp;nbsp;</xsl:text>
</xsl:template>


<xsl:template match="arglist">
<div class="galleryTitle" style="padding-bottom:5px;margin-bottom:10px;">Nuovi blog che aspettano un voto dallo staff</div>
<div style="padding-bottom:5px;margin-bottom:5px;border-bottom:1px solid #ddd;">
	<div class="b10b" style="margin-right:10px;padding-top:4px;float:left;width:60px;">
		User rating
	</div>
	<div class="b10b" style="padding-top:4px;">
		Titolo del blog
	</div>
</div>
<xsl:for-each select="arg[@type = 'B']">
	<div class="b10b" style="margin-right:10px;padding-top:4px;float:left;">
			<ul class='star-ratingd'>
				<li class='current-rating' style='width:{(@vt div @wt)*12}px;' id="current-rating{position()}">Currently 3.5/5 Stars.</li>
				<li><a onclick="javascript:ratethis(this.parentNode, '1', '{@blogid}', {position()}); return false;" href='javascript:void(null);' title='1 star out of 5' class='one-star'>1</a></li>
				<li><a onclick="javascript:ratethis(this.parentNode, '2', '{@blogid}', {position()}); return false;" href='javascript:void(null);' title='2 stars out of 5' class='two-stars'>2</a></li>
				<li><a onclick="javascript:ratethis(this.parentNode, '3', '{@blogid}', {position()}); return false;" href='javascript:void(null);' title='3 stars out of 5' class='three-stars'>3</a></li>
				<li><a onclick="javascript:ratethis(this.parentNode, '4', '{@blogid}', {position()}); return false;" href='javascript:void(null);' title='4 stars out of 5' class='four-stars'>4</a></li>
				<li><a onclick="javascript:ratethis(this.parentNode, '5', '{@blogid}', {position()}); return false;" href='javascript:void(null);' title='5 stars out of 5' class='five-stars'>5</a></li>
			</ul>
	</div>
	<div class="b10b" style="padding-top:4px;clear:right;">
	<a style="color:#0066CC;" href="/userinfo/blog.aspx?userid={@userid}&amp;blogid={@id}">
	<xsl:value-of select="@title"/>
	</a>
	</div>
</xsl:for-each>

</xsl:template>

</xsl:stylesheet>